package com.gfm.story.entity.story;

import com.baomidou.mybatisplus.annotations.TableName;
import com.gfm.story.entity.base.BaseBean;
import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;
import java.util.Date;

/**
 * @BelongsProject: story
 * @BelongsPackage: com.gfm.story.entity.story
 * @Author: Administrator
 * @CreateTime: 2019-06-03 17:20
 * @Description: 小说收藏
 */
@Entity(name = "store")
@Table(name = "store")
@TableName(value = "store")
@Data
public class Store extends BaseBean<Store> {
    private Long userId;
    private Long chapterId;
    private Long bookId;


    //非数据库字段

    @Transient
    private String StoryName;
    @Transient
    private String NewChapter;
    @Transient
    private String StoreName;
    @Transient
    private Long newChapterId;
    @Transient
    private Date ChapterTime;
    @Transient
    private String imgUrl;
    @Transient
    private String bookAuthor;

}
